import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
 // svg插件配置文件
import 'virtual:svg-icons-register'
// 引入自定义插件对象
import globalComponents  from '@/components';
// 引入全局样式
import '@/styles/index.scss'
//引入注册路由
import router from './router';
// pinia
import pinia from './store';
const app = createApp(App)
console.log(import.meta.env)
app.use(ElementPlus)
app.use(globalComponents)
app.use(router)
app.use(pinia)
app.mount('#app')

